package com.engine4cloud.tdf.education.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * 学员
 *
 * @author wenjie
 * @date 2024-07-30 14:59:31
 */
@Data
@Schema(description = "学员")
public class EduStudentDTO implements Serializable {

    /**
     * 学员编号
     */
    @Schema(description = "学员编号")
    @NotBlank(message = "学员编号不能为空")
    private String code;

    @Schema(description = "学生姓名")
    @NotBlank(message = "学生姓名不能为空")
    private String name;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String mobile;

    /**
     * 所属部门
     */
    @Schema(description = "所属部门")
    @NotBlank(message = "所属部门不能为空")
    private String departmentName;

}